function FindProxyForURL(url, host) {
    // Handle `*.koyeb.app` domains
    if (shExpMatch(host, "*.koyeb.app")) {
        return "PROXY 127.0.0.1:7897";
    }

    // Handle `*.googleapis.com` domains
    if (shExpMatch(host, "*.googleapis.com")) {
        return "PROXY 127.0.0.1:7897";
    }

    if (dnsDomainIs(host, "google.com")) {
        return "PROXY 127.0.0.1:7897";
    }
    // Do not use a proxy for other cases
    return "DIRECT";
}